<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
</head>
<body>
<form id="form1" method="post">
    <input name="id" value="${problemAssociation.id}" hidden/>
    <input name="activityRecordId" value="${problemAssociation.activityRecordId}" hidden/>
    <div class="information">
        <div class="information-title">
            <p>问题基本信息</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 120px;">
            <div style="clear: both">
                <div class="form_one" style="width:550px">
                    <label class="lable-style">是否检查承包商:</label>
                    <select id="isContractor" class="easyui-combobox" validType="validSelect" name="isContractor" style="width: 415px" data-options="disabled:true">
                        <option value="0" <c:if test="${problemAssociation.isContractor==0}">selected</c:if> >否</option>
                        <option value="1" <c:if test="${problemAssociation.isContractor==1}">selected</c:if> >是</option>
                    </select>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">关键装置:</label>
                    <input id="keyDevice" name="keyDevice" class="easyui-textbox" style="width: 415px" value="${problemAssociation.keyDevice}" data-options="disabled:true">
                </div>
            </div>
            <div class="beCheckedUnit" style="clear: both; <c:if test='${problemAssociation.isContractor==1}'>display: none</c:if>">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">被检单位/部门</label>
                    <input id="beCheckedUnit" class="easyui-textbox" name="beCheckedUnit"  <c:if test='${problemAssociation.isContractor==0}'>required="true" value="${problemAssociation.beCheckedUnit}"</c:if> style="width: 965px"  data-options="disabled:true">
                    <span>*</span>
                </div>
            </div>
            <div class="contractor" style="clear: both; <c:if test='${problemAssociation.isContractor==0}'>display: none</c:if>">
                <div class="form_one" style="width: 550px">
                    <input id="contractor" name="contractor" <c:if test='${problemAssociation.isContractor==1}'> value="${problemAssociation.contractor}"</c:if> hidden/>
                    <label class="lable-style">承包商:</label>
                    <input id="contractorName" name="contractorName"  <c:if test='${problemAssociation.isContractor==1}'> value="${problemAssociation.contractorName}"</c:if> class="easyui-textbox" validType="validSelect"  style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">承包商整改联络人:</label>
                    <input id="contactPerson" class="easyui-textbox" name="contactPerson" <c:if test='${problemAssociation.isContractor==1}'>required="true" value="${problemAssociation.contactPerson}"</c:if> validType="validSelect" style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>
            </div>
            <div class="contractor" style="clear: both; <c:if test='${problemAssociation.isContractor==0}'>display: none</c:if>">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">作业区域:</label>
                    <input id="jobArea" name="jobArea"  <c:if test='${problemAssociation.isContractor==1}'>required="true" value="${problemAssociation.jobArea}"</c:if> class="easyui-textbox" validType="validSelect"  style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">项目/作业名称:</label>
                    <input id="jobName" class="easyui-textbox" name="jobName"  <c:if test='${problemAssociation.isContractor==1}'>required="true" value="${problemAssociation.jobName}"</c:if> validType="validSelect" multiple="true" style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">检查日期:</label>
                    <input id="checkDate" name="checkDate" class="easyui-datebox" required="true" validType="validSelect" value="${problemAssociation.checkDate}" style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">检查人:</label>
                    <input id="checkUserName" class="easyui-textbox" name="checkUserName" value="${problemAssociation.checkUserName}" required="true" validType="validSelect" multiple="true" style="width: 415px" data-options="disabled:true">
                    <span>*</span>
                </div>

            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">专业分类:</label>
                    <input id="specialtyClassificationHeHe" class="easyui-textbox" name="specialtyClassification" data-options="disabled:true" value="${problemAssociation.specialtyClassificationName}" validType="validSelect" style="width: 415px"/>
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">问题分类:</label>
                    <input id="problemClassificationHeHe" class="easyui-textbox" name="problemClassification" data-options="disabled:true" value="${problemAssociation.problemClassificationName}" validType="validSelect" style="width: 415px"/>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">设施场所:</label>
                    <input class="easyui-textbox" data-options="multiline:true,disabled:true" style="height: 50px;width: 965px;" name="facilityLocation" value="${problemAssociation.facilityLocation}"/>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">问题描述:</label>
                    <input class="easyui-textbox" data-options="multiline:true,disabled:true" style="height: 50px;width: 965px;" required="true" name="problemDescription" value="${problemAssociation.problemDescription}"/>
                    <span>*</span>
                </div>
            </div>
            <%--<div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">单位性质:</label>
                    <select id="unitProperty" class="easyui-combobox" name="unitProperty" data-options="disabled:true" validType="validSelect"  style="width: 415px">
                        <option></option>
                        <option value="股份" <c:if test="${problemAssociation.unitProperty=='股份'}"> selected</c:if> >股份</option>
                        <option value="存续" <c:if test="${problemAssociation.unitProperty=='存续'}"> selected</c:if>>存续</option>
                    </select>
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <input id="superiorDepartmentHidden" value="${problemAssociation.superiorDepartment}" hidden/>
                    <label class="lable-style">上级主管部门:</label>
                    <select id="superiorDepartment" name="superiorDepartment" class="easyui-combobox" data-options="disabled:true" validType="validSelect" style="width: 415px">
                    </select>
                    <span>*</span>
                </div>
            </div>--%>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>检查标准</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle">
            <div style="clear: both;height:57px;">
                <div class="form_one" style="width: 1100px">
                    <label class="lable-style">检查标准:</label>
                    <input class="easyui-textbox" style="height: 50px;width: 965px;" name="inspectionStandard" value="${problemAssociation.inspectionStandard}" data-options="disabled:true"/>
                </div>
            </div>
        </div>
    </div>
    <%--<div class="information">
        <div class="information-title">
            <p>整改信息</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle">
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">整改要求:</label>
                    <input class="easyui-textbox" data-options="multiline:true,disabled:true" style="height: 50px;width: 965px;" required="true" name="rectificationRequirements" value="${problemAssociation.rectificationRequirements}"/>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">整改(联络)人:</label>
                    <input id="rectificationContact" name="rectificationContact" value="${problemAssociation.rectificationContact}" hidden/>
                    <input id="rectificationContactName" class="easyui-textbox" data-options="disabled:true" style="width: 240px;" value="${problemAssociation.rectificationContactName}">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">整改期限:</label>
                    <input name = "rectificationPeriod" value="${problemAssociation.rectificationPeriod}" class="easyui-datebox" style="width: 240px;" data-options="disabled:true">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">整改单位:</label>
                    <input id="rectificationUnit" name = "rectificationUnit" value="${problemAssociation.rectificationUnit}" class="easyui-textbox" style="width: 240px;" data-options="disabled:true">
                </div>
            </div>
        </div>
    </div>--%>

    <div class="information">
        <div class="information-title">
            <p>附件</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <accessory:accessorySimple permission="readOnly"  packageKey="prbm" uploadUserId="${addUserId}"  packageInfos="${accessoryList}"  accessoryType = "txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
</form>
<script src="${ctx}/resources/js/majorHazard/activityRecord/problemEdit.js" type="text/javascript"></script>
</body>
</html>
